package com.sk.enums;

import lombok.Getter;

/**
 * @Author jiaok
 * @Date 2024-04-24 15:08
 */
public enum PasswordEncoderTypeEnum {

    /**
     * MD5加密
     */
    MD5("{MD5}","MD5加密"),
    /**
     * BCRYPT加密
     */
    BCRYPT("{bcrypt}","BCRYPT加密"),
    /**
     * 无加密明文
     */
    NOOP("{noop}","无加密明文");

    @Getter
    private String prefix;

    PasswordEncoderTypeEnum(String prefix, String desc){
        this.prefix=prefix;
    }

}
